package com.tiancheng.trade.payment;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@EnableFeignClients(basePackages ={"com.tiancheng.trade.payment", "com.tiancheng.trade.commom"} )
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {"com.tiancheng.trade.payment", "com.tiancheng.trade.commom"})
public class PaymentApplication {

    public static void main(String[] args) {
        SpringApplication.run(PaymentApplication.class, args);
    }

}
